<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style >
        .bat {
            width: 600px;
            height: 500px;
            background-color: #2a9ba5;
        }

        .og {
            width: 600px;
            height: 500px;
            background-color: #2aa551;
        }
    </style>
</head>
<body>
<div class="bat">
    <div class="og">
        <form action="tianjia" method="post">
            @csrf
            <label for="">姓名：</label>
            <input type="text" name="name"><br>

            <br>
            <lebel>性别</lebel>
            <input type="radio" name="sex" value="1" value="1">男
            <input type="radio" name="sex" value="2" value="1">女<br>
            <br>
            兴趣：<input type="checkbox" name="hobby[]" value="1">苹果
            <input type="checkbox" name="hobby[]"value="2" >华为
            <input type="checkbox" name="hobby[]" value="3" >小米
            <input type="checkbox" name="hobby[]" value="4" >OPPO
            <input type="checkbox" name="hobby[]" value="4" >vivo
            <br><br>
            <input type="submit">
        </form>
    </div>
</div>
</body>
</html>
